<table class="table table-striped">
    <style>
        th{
            width: 20%;
        }
        td{
            word-wrap:break-word;word-break:break-all;
        }
    </style>
    <tbody>
    <tr>
        <th>{:__('Id')}</th>
        <td id="see_id">{$row.id}</td>
    </tr>
    <tr>
        <th>{:__('Moniker')}</th>
        <td>{$row.moniker}</td>
    </tr>
    <tr>
        <th>{:__('Phone')}</th>
        <td>{$row.phone_see}</td>
    </tr>
    <tr>
        <th>{:__('Phone_two')}</th>
        <td>{$row.phone_two_see}</td>
    </tr>
    {if empty($row.type_data)}
    <tr>
        <th>{:__('Staff.name')}</th>
        <td>{$row.staff.name}</td>
    </tr>
    <tr>
        <th>{:__('Staff_ibec.name')}</th>
        <td>{$row["staff_ibec.name"]}</td>
    </tr>
    <tr>
        <th>{:__('Staff.mobile')}</th>
        <td>{$row.staff.mobile}</td>
    </tr>
    {if !empty($row.bind_staff_id)  && !empty($row.bindStaff)}
    <tr>
        <th>{:__('Ibec.name')}</th>
        <td>{$row["ibec.name"]}</td>
    </tr>
    <tr>
        <th>{:__('BindStaff.name')}</th>
        <td>{$row.bindStaff.name}</td>
    </tr>
    <tr>
        <th>{:__('BindStaff.mobile')}</th>
        <td>{$row.bindStaff.mobile}</td>
    </tr>
    <tr>
        <th>{:__('Bind_time')}</th>
        <td>{:date('Y-m-d H:i:s',$row.bind_time)}</td>
    </tr>
    <tr>
        <th>{:__('Lapse_time')}</th>
        <td>{:date('Y-m-d',$row.lapse_time)}</td>
    </tr>
    {/if}
    <tr>
        <th>{:__('Estimate_time')}</th>
        <td>{:date('Y-m-d H:i:s',$row.estimate_time)}</td>
    </tr>
    <tr>
        <th>{:__('Type')}</th>
        <td>{$row.type}</td>
    </tr>
    <tr>
        <th>{:__('Need')}</th>
        <td>{$row.need}</td>
    </tr>
    <tr>
        <th>{:__('Status')}</th>
        <td>{$row.status_text}</td>
    </tr>
    {/if}
    {if !empty($row.canal_id) && !empty($row.canal)}
    <tr>
        <th>{:__('Canal')}</th>
        <td>{$row.canal.name}</td>
    </tr>
    <tr>
        <th>{:__('Canal.mobile')}</th>
        <td>{$row.canal.mobile}</td>
    </tr>
    {/if}
    <tr>
        <th>{:__('Remark')}</th>
        <td>{$row.remark}</td>
    </tr>
    <tr>
        <th>{:__('Scan_list')}</th>
        <td>
            <a href="javascript:;"data-url="scan/index?connection_id={$row.id}" data-id="{$row.id}" data-title="{:__('Scan_list')}" class="btn btn-success {:$auth->check('scan/index')?'':'hide'} skip" title="{:__('Scan_list')}" >
                 {:__('Scan_list')}</a>
        </td>
    </tr>
    <tr>
        <th>{:__('Show_list')}</th>
        <td>
            <a href="javascript:;" data-url="show/index?connection_id={$row.id}" data-title="{:__('Show_list')}" class="btn btn-success {:$auth->check('show/index')?'':'hide'} skip" title="{:__('Show_list')}" >
                {:__('Show_list')}</a>
        </td>
    </tr>
    {if empty($row.type_data)}
    <tr>
        <th>{:__('Showfee_list')}</th>
        <td>
            <a href="javascript:;" data-url="showfee/index?connection_id={$row.id}" data-title="{:__('Showfee_list')}" class="btn btn-success {:$auth->check('showfee/index')?'':'hide'} skip" title="{:__('Showfee_list')}" >
                {:__('Showfee_list')}</a>
        </td>
    </tr>
    {/if}
    <tr>
        <th>{:__('UpdateLog')}</th>
        <td>
            <a href="javascript:;" data-url="connection/updateLog?id={$row.id}" data-title="{:__('UpdateLog')}" class="btn btn-success {:$auth->check('connection/updateLog')?'':'hide'} skip" title="{:__('UpdateLog')}" >
                {:__('UpdateLog')}</a>
        </td>
    </tr>
    <tr>
        <th>{:__('createtime')}</th>
        <td>{:date('Y-m-d H:i:s',$row.createtime)}</td>
    </tr>
    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
